home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 2
/
Amoszine 2.adf
/
dfc5.AMOS
/
dfc5.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-26
|
848b
|
31 lines
'********************************
'* Execute.AMOS *
'* � 1992 by Volker Stepprath *
'* Executes a CLI-Command *
'********************************
'
Amos To Back
'
'make sure the disk with filemaster on is in drive 0
'or change the following to the drive it's on, DF1: for example.
COMMAND$="df0:filemaster"+Chr$(0)
'
'you can change the program name to any multitasking program that you want
'Dpaint for example.
'
'
Dreg(1)=Varptr(COMMAND$)
Dreg(2)=0
Dreg(3)=0
XEXECUTE=Doscall(-222)
'
'
Amos To Front
Edit
' you will now be sent straight back to the Amos editor
'all you have to do now is hold down the LEFT Amiga key and press A
'you will then be flipped from amos to filemaster.
'Now you can do all the disk work and stuff you want, when you are finished
'Just press Left A and A again to return to Amos.